using System.Collections.Generic;
using OpenWaves.Web;

namespace OpenWaves.Navigation.Showcase
{
    public class NavigationNode: ITreeNode<NavigationNode>
    {
        public string Id { get; private set; }

        public string Name { get; private set; }

        public IEnumerable<NavigationNode> Children { get; private set; }      

        public NavigationNode(string id, string name, params NavigationNode[] children)
        {
            this.Id = id;
            this.Name = name;
            this.Children = children;
        }
    }
}